//
//  HomespeakTableViewCell.m
//  geiTA
//
//  Created by duyan on 14-11-25.
//  Copyright (c) 2014年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "HomespeakTableViewCell.h"

@implementation HomespeakTableViewCell
- (void)dealloc
{
    [_image release];
    [super dealloc];
}
-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.image = [[UIImageView alloc]initWithFrame:CGRectZero];
        [self.image setBackgroundColor:[UIColor purpleColor]];
         [self addSubview:_image];
    }
    return  self;
}
-(void)layoutSubviews
{
    [super layoutSubviews];
    [self.image  setFrame:CGRectMake(0, 0, 40, 40)];
   
}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
